<%@include file="../menu/header.jsp" %>
<%@page contentType="text/html; charset=iso-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <fmt:bundle basename="app">
    <head>
        <title><fmt:message key="login.title.tag" /></title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        <jsp:include page="../menu/header.jsp">
            <jsp:param name="v" value="login" />
        </jsp:include>
       
        <script type="text/javascript">

            function DoAction()
{

    alert("doIn");
    $.ajax({
         type: "POST",
         url: "newRae.do",
         data: "datas=[{'topic':hola,'description':null,'responsable':null,'expectedTime':0.0,'type':null},{'topic':null,'description':null,'responsable':null,'expectedTime':0.0,'type':null}]",
       success: function(msg){
                     alert( "Data Saved: " + msg );
                  }
    });

    alert("DoOut")
}

        </script>

    </head>
    <body>
        <h1>Hello World!</h1>


        <input type="submit" value="xx" onclick="DoAction()" />
    </body>
    </fmt:bundle>
</html>
